package jwdt.common.service;

import com.ezerg.db.ext.PageUtil;

public interface BaseService<T> {
	
	public PageUtil doList(PageUtil pu, T obj) throws Exception;
	
	public T doLoad(int id, T obj) throws Exception; 
	
	public String doDel(int id, T obj) throws Exception;
	
	public String doSave(int id, T obj) throws Exception; 
	
	public String doUpdateState(int id, String state, T obj) throws Exception;

	public String doListForTree() throws Exception;
}
